-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LoongArch64 build support #3198
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
it will be much easier to add this arch after #3200 goes in |
Suggest adding RISC-V 64 and LoongArch64 simultaneously |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@mattleibow are you planning to merge this before #3200? |
i started this work before them and they are just piggybacking. the decent thing to do is to wait for my work to finish.. |
I am not merging yet. I am just checking the build. Once we merge that, the diff will suddenly shrink. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
binding/HarfBuzzSharp.NativeAssets.Linux/HarfBuzzSharp.NativeAssets.Linux.csproj
Outdated
Show resolved
Hide resolved
...iaSharp.NativeAssets.Linux.NoDependencies/SkiaSharp.NativeAssets.Linux.NoDependencies.csproj
Outdated
Show resolved
Hide resolved
binding/SkiaSharp.NativeAssets.Linux/SkiaSharp.NativeAssets.Linux.csproj
Outdated
Show resolved
Hide resolved
@mattleibow i suggest merge this pr and publish the next release to nuget.org. there hasn't been a release pushed there in the first quarter of the year, so timing couldn't be better. further refactorings #3209 etc. can continue later |
We don't need the Deepin changes! CI was just being difficult. Could we revert those changes for now up to the merge main as it was green then. |
Has been revert to Debian Trixie |
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Thanks @4Darmygeometry for the work getting this ready to be merged. Looking forward to hearing stories about the users of LoongArch64 chips! |
Hi folks, The builds are now available on the preview feed: https://aka.ms/skiasharp-eap/index.json As soon as you let me know, I can release this to NuGet and then hopefully a stable version shortly afterwards. |
Successfully download and use, can release this to NuGet, thanks. skiasharp.nativeassets.linux/3.119.0-preview.0.38/runtimes/linux-loongarch64/native/libSkiaSharp.so and skiasharp.nativeassets.linux/3.119.0-preview.0.38/runtimes/linux-musl-loongarch64/native/ packaged normally and able to use normally.
|
But only the latest compiled SkiaSharp, not HarfBuzzSharp I want to use the latest built SkiaSharp.NativeAssets.Linux and HarfBuzzSharp.NativeAssets.Linux NuGet packages to support LoongArch64. However, the HarfBuzzSharp.NativeAssets.Linux NuGet package I found was built in December 2024, which is four months ago; only the SkiaSharp.NativeAssets.Linux NuGet package has the latest build in March 2025 |
Is there an issue with harfbuzz? |
|
I am not sure what you mean... Your PR also includes harfbuzz binaries. Or maybe you linked to a different issue? |
I want to use the latest built SkiaSharp.NativeAssets.Linux and HarfBuzzSharp.NativeAssets.Linux NuGet packages to support LoongArch64. However, the HarfBuzzSharp.NativeAssets.Linux NuGet package I found was built in December 2024, which is four months ago; only the SkiaSharp.NativeAssets.Linux NuGet package has the latest build in March 2025 |
I see. The versions are a bit mixed up in order as main builds are preview.0 but we have a preview.2 out. This build (8.3.1-preview.0.38) is actually there about halfway down the page: https://dev.azure.com/xamarin/public/_artifacts/feed/SkiaSharp/NuGet/HarfBuzzSharp.NativeAssets.Linux/overview/8.3.1-preview.0.38 Once I branch for release, it will get a real number. |
Successfully to download and use, can branch for release and put it and SkiaSharp into nuget.org, thanks.
|
Description of Change
Add LoongArch64 build support, LoongArch64 is a new ISA Cored By Loongson Technology LLC.
Bugs Fixed
API Changes
None.
Behavioral Changes
None.
Required skia PR
None.
PR Checklist